#version 140
in float lightIntensity;
in vec2 TexCoord;

uniform sampler2D plum;

void main(){
    vec3 lightColor = vec3(texture(plum,TexCoord));
    gl_FragColor = vec4(lightColor*lightIntensity,1.0);
}